package org.springframework.study.service;

import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

/**
 * @author: wf
 * @create: 2025/9/19 8:49
 * @description:
 */
@Lazy
@Service
public class BService {
	//@Autowired
	//private AService aService;
	
	public BService() {
		System.out.println("执行BService构造器方法！");
	}
	
	public void init() {
		System.out.println("执行BService.init()方法！" + this.getClass());
	}
	
	public void test() {
		System.out.println("执行BService.test()方法！" + this.getClass());
	}
}
